home *** CD-ROM | disk | FTP | other *** search
-
-
-
- UUUUSSSSEEEERRRREEEENNNNVVVV((((1111)))) SSSSiiiilllliiiiccccoooonnnn GGGGrrrraaaapppphhhhiiiiccccssss UUUUSSSSEEEERRRREEEENNNNVVVV((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- uuuusssseeeerrrreeeennnnvvvv - print user's login environment
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- uuuusssseeeerrrreeeennnnvvvv [-nologin] [-csh] [ -t timeout ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- uuuusssseeeerrrreeeennnnvvvv executes a user's login shell, finds the resulting
- environment, and then prints to stdout commands such as
-
- PATH=mypath; export PATH
-
- which can be eval'ed by /bin/sh in order to set the
- environment.
-
- _U_s_e_r_e_n_v starts an interactive shell. Before executing the
- shell, it sets the environment variable EEEENNNNVVVVOOOONNNNLLLLYYYY equal to 1111.
- Thus, when your login scripts are executed as a result of
- uuuusssseeeerrrreeeennnnvvvv, they will execute fastest if, after seeing that
- EEEENNNNVVVVOOOONNNNLLLLYYYY = 1111, they do very little except for setting the
- environment. This variable is also useful for disabling
- interactive portions of login scripts.
-
- Although _u_s_e_r_e_n_v is fairly robust, it's possible that
- interactive sequences in a login script might fail. At
- worst, uuuusssseeeerrrreeeennnnvvvv will timeout when interacting with the shell,
- and will print nothing to stdout. If it times out, it will
- print an error message to /dev/console.
-
- This program is intended for use by the window system.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----nnnnoooollllooooggggiiiinnnn Execute the appropriate shell, but not a login
- shell. For _c_s_h, this causes ._c_s_h_r_c to be read,
- but not ._l_o_g_i_n.
-
- ----ccccsssshhhh causes the output by uuuusssseeeerrrreeeennnnvvvv to be csh, rather
- than sh, commands.
-
- ----tttt ttttiiiimmmmeeeeoooouuuutttt Allows specifying the timeout value in seconds
- before userenv gives up waiting for input. This
- may be useful for users who have commands that
- cause long delays in their login scripts. The
- default is 10 seconds.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- xdm(1)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- uuuusssseeeerrrreeeennnnvvvv returns 0 on success and nonzero if it was unable to
- exexcute a login shell or find that environment.
-
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- UUUUSSSSEEEERRRREEEENNNNVVVV((((1111)))) SSSSiiiilllliiiiccccoooonnnn GGGGrrrraaaapppphhhhiiiiccccssss UUUUSSSSEEEERRRREEEENNNNVVVV((((1111))))
-
-
-
- EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
- ENVONLY
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-